<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <title>Ease Reader</title>
    <%= stylesheet_link_tag 'default' %>
    <%= javascript_include_tag :defaults %>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
  </head>
  <body>
    <% for name in [:notice, :warning, :message, :error] %>
      <% if flash[name] %>
         <div id="<%=name%>" class = "<%=name%>"><%=flash[name]%></div>
      <% end %>
    <% end %>

    <%=@content_for_layout%>
  </body>
</html>
